<template>
  <el-table
    :data="tableData"
    border
    class="table"
    ref="multipleTable"
    header-cell-class-name="table-header"
    @selection-change="handleSelectionChange"
  >
    <el-table-column 
      type="selection"
      width="55"
      align="center"
    ></el-table-column>
    <el-table-column
      prop="userId"
      label="ID"
      width="55"
      align="center"
    ></el-table-column>
    <el-table-column prop="userName" label="姓名"></el-table-column>
    <el-table-column prop="age" label="年龄"></el-table-column>
    <el-table-column prop="sex" label="性别"></el-table-column>
    <!-- <el-table-column prop="dey" label="学历"></el-table-column> -->
    <el-table-column prop="idCard" label="身份证号码"></el-table-column>
    <el-table-column prop="mobile" label="手机号码"></el-table-column>
    <!-- <el-table-column prop="address" label="地址"></el-table-column>
        <el-table-column prop="company" label="派遣公司"></el-table-column> -->

    <el-table-column label="操作" width="180" align="center">
      <template #default="scope">
        <el-button
          type="text"
          icon="el-icon-delete"
          class="red"
          @click="handleDelete(scope.$index, scope.row)"
          >删除</el-button
        >
      </template>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
    name:'chooseList',
    props:{
        option:Object
    },
    setup(props){
        
    },
};
</script>

<style>
</style>